<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>分类新增</title>
  <link href="../../static/images/me.jpg" th:href="@{/images/me.jpg}" rel="icon" type="image/x-ico">
  <link rel="stylesheet" href="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/semantic-ui/2.2.4/semantic.min.css">
  <link rel="stylesheet" href="../../static/css/me.css" th:href="@{/css/me.css}">
</head>
<body>

<!--导航栏-->
<nav class="ui inverted gird-header" >
  <div class="ui container">
    <div class="ui inverted secondary stackable menu">
      <h2 class="ui olive header item" style="font-family: STSong">管理后台</h2>
      <a href="./blogs.html" class="m-item item m-mobile-hide"><i class="home icon"></i>文章管理</a>
      <a href="./types.html" class=" m-item item m-mobile-hide"><i class="clone outline icon"></i>分类管理</a>
      <a href="./friendlinks.html" class="active m-item item m-mobile-hide"><i class="pencil alternate icon"></i>友链管理</a>
      <a href="./pictures.html" class=" m-item item m-mobile-hide"><i class="image icon"></i>相册管理</a>
      <div class="right m-item m-mobile-hide menu">
        <div class="ui dropdown  item">
          <div class="text">
            <img class="ui avatar image" src="../../static/images/me.jpg">
            <span>码猿技术专栏</span>
          </div>
          <i class="dropdown icon"></i>
          <div class="menu">
            <a href="#" onclick="logout()" class="item">注销</a>
          </div>
        </div>
      </div>
    </div>
  </div>
  <a href="#" class="ui menu toggle black icon button m-right-top m-mobile-show">
    <i class="sidebar icon"></i>
  </a>
</nav>

  <div class="m-padded-tb-hugex">
  <div class="ui attached pointing menu">
    <div class="ui container">
      <div class="right menu">
        <a href="friendlinks-input.html" class="teal active item">新增</a>
        <a href="friendlinks.html" class="item">列表</a>
      </div>
    </div>
  </div>
  </div>

  <!--中间内容-->
  <div  class="m-container-small m-padded-tb-massive">
    <div class="ui container">
      <div class="ui form">
        <input type="hidden" name="id">
        <div class=" field">
          <div class="ui left labeled input m-margin-top">
            <label class="ui teal basic label">博客名称</label>
            <input type="text" name="blogname" placeholder="博客名称" id="blogName">
          </div>
          <div class="ui left labeled input m-margin-top">
            <label class="ui teal basic label">博客地址</label>
            <input type="text" name="blogaddress" placeholder="博客地址" id="blogUrl">
          </div>
          <div class="ui left labeled input m-margin-top">
            <label class="ui teal basic label">图片</label>
            <input type="file" name="pictureaddress" id="file">
          </div>
        </div>

        <div class="ui error message"></div>
        <div class="ui mini negative message" hidden>提示：不能添加重复的友链</div>
        <div class="ui right aligned container">
          <button type="button" class="ui button" onclick="window.history.go(-1)" >返回</button>
          <button class="ui teal submit button" onclick="upload()">提交</button>
        </div>

      </div>
    </div>
  </div>

  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <br>
<!--底部栏-->
<footer class="ui inverted vertical segment m-padded-tb-massive m-opacity" id="footer">
</footer>


  <script src="https://unpkg.zhimg.com/jquery@3.2/dist/jquery.min.js"></script>
  <script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-30-M/semantic-ui/2.2.4/semantic.js"></script>
  <script src="../../static/js/admin/js/friendlinks-input.js"></script>
  <script src="../../static/js/front/js/footer.js"></script>
  <script src="../../static/js/admin/js/nav.js"></script>
</body>
</html>